<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>后台管理</title>
    <link rel="stylesheet" href="https://www.jq22.com/jquery/bootstrap-3.3.4.css">
    <link rel="stylesheet" href="https://www.jq22.com/jquery/font-awesome.4.6.0.css">
    {% load static %}
    <link href="{% static 'plugins/dashboard/css/footable.core.css' %}" rel="stylesheet">
    <link href="{% static 'plugins/dashboard/css/animate.css' %}" rel="stylesheet">
    <link href="{% static 'plugins/dashboard/css/style.css' %}" rel="stylesheet">
</head>
<body>
<div id="wrapper">
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="sidebar-collapse">
            <ul class="nav metismenu" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element"> <span>
<img alt="image" class="img-circle" src="{% static 'plugins/dashboard/imgs/profile_small.jpg' %}"/>
</span>
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
<span class="clear"> <span class="block m-t-xs"> <strong class="font-bold"></strong>
</span> <span class="text-muted text-xs block">个人/返回首页<b class="caret"></b></span> </span> </a>
                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li><a href="{% url 'index' %}">返回首页</a></li>
                            <li class="divider"></li>
                            <li><a href="">{{ request.current_user }}</a></li>
                            <li><a href="{% url 'logout' %}">登出</a></li>
                        </ul>
                    </div>

                </li>
                <li class="active">
                    <a href="{% url 'article_list' %}"><i class="fa fa-book"></i> <span
                            class="nav-label">文章管理</span></a>
                </li>

                <li>
                    <a href="{% url 'carousel_list' %}"><i class="fa fa-dashboard"></i> <span
                            class="nav-label">轮播图管理</span></a>
                </li>
                <li>
                    <a href="{% url 'category_list' %}"><i class="fa fa-dashboard"></i> <span
                            class="nav-label">主要分类管理</span></a>
                </li>

                <li>
                        <a href="{% url 'subcategory_list' %}"><i class="fa fa-dashboard"></i> <span
                                class="nav-label">次级分类管理</span></a>
                </li>
                <li>
                        <a href="{% url 'tag_list' %}"><i class="fa fa-dashboard"></i> <span
                                class="nav-label">标签管理</span></a>
                </li>

            {% block content %}
            {% endblock content %}

          </ul>
        </div>
    </nav>
    <div id="page-wrapper" class="gray-bg">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i>
                    </a>
                    <form role="search" class="navbar-form-custom" action="">
                        <div class="form-group">
                            <input type="text" placeholder="Search for something..." class="form-control"
                                   name="query" id="top-search">
                        </div>
                    </form>
                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <li>
                        <span class="m-r-sm text-muted welcome-message"></span>
                    </li>




</ul>
            </nav>
        </div>
    </div>
</div>




<script src="{% static 'plugins/dashboard/js/jquery-2.1.1.js' %}"></script>
<script src="{% static 'plugins/dashboard/js/bootstrap.min.js' %}"></script>
<script src="{% static 'plugins/dashboard/js/jquery.metisMenu.js' %}"></script>
<script src="{% static 'plugins/dashboard/js/jquery.slimscroll.min.js' %}"></script>

<script src="{% static 'plugins/dashboard/js/inspinia.js' %}"></script>
<script src="{% static 'plugins/dashboard/js/pace.min.js' %}"></script>

<script src="{% static 'plugins/dashboard/js/footable.all.min.js' %}"></script>



</body>
</html>
